<?php

//优惠券
Route::get('shop-coupon-index', ['as' => 'shop_coupon_index', 'uses' => 'CouponController@index']);  //优惠券列表
Route::get('shop-coupon-create', ['as' => 'shop_coupon_create', 'uses' => 'CouponController@create']);  //添加优惠券视图
Route::post('shop-coupon-store', ['as' => 'shop_coupon_store', 'uses' => 'CouponController@store']);  //添加优惠券数据
Route::get('shop-coupon-edit', ['as' => 'shop_coupon_edit', 'uses' => 'CouponController@edit']);  //编辑优惠券视图
Route::post('shop-coupon-update', ['as' => 'shop_coupon_update', 'uses' => 'CouponController@update']);  //编辑优惠券数据
Route::delete('shop-coupon-del', ['as' => 'shop_coupon_del', 'uses' => 'CouponController@del']);  //删除优惠券
Route::get('shop-coupon-list', ['as' => 'shop_coupon_list', 'uses' => 'CouponController@list']);  //优惠券领取、使用明细
Route::delete('shop-coupon-use', ['as' => 'shop_coupon_use', 'uses' => 'CouponController@coupon_use']);  //使用优惠券
Route::get('shop-coupon-list_extend', ['as' => 'shop_coupon_list_extend', 'uses' => 'CouponController@list_extend']);  //列表详情
Route::get('shop-coupon-account', ['as' => 'shop_coupon_account', 'uses' => 'CouponController@account']);  //结算列表
Route::get('shop-coupon-search', ['as' => 'shop_coupon_search', 'uses' => 'CouponController@search']);  //搜索优惠券


//活动
Route::get('shop-activity-index', ['as' => 'shop_activity_index', 'uses' => 'ActivityController@index']);  //活动列表
Route::get('shop-activity-create', ['as' => 'shop_activity_create', 'uses' => 'ActivityController@create']);  //添加活动
Route::post('shop-activity-store', ['as' => 'shop_activity_store', 'uses' => 'ActivityController@store']);  //添加活动数据
Route::get('shop-activity-goods-create', ['as' => 'shop_activity_goods_create', 'uses' => 'ActivityController@goods_create']);  //添加活动数据
Route::get('shop-activity-detail', ['as' => 'shop_activity_detail', 'uses' => 'ActivityController@detail']);  //活动详情

Route::get('shop-activity-goods_list', ['as' => 'shop_activity_goods_list', 'uses' => 'ActivityController@goods_list']);  //获取商品列表
Route::post('shop-activity-goods_list_store', ['as' => 'shop_activity_goods_list_store', 'uses' => 'ActivityController@goods_list_store']);  //添加活动商品数据

Route::post('shop-activity-change-status', ['as' => 'shop_activity_change_status', 'uses' => 'ActivityController@change_status']);  //修改活动状态
Route::delete('shop-activity-goods-del', ['as' => 'shop_activity_goods_del', 'uses' => 'ActivityController@activity_goods_del']);  //修改活动状态
Route::get('shop-get-order-list', ['as' => 'shop_get_order_list', 'uses' => 'ActivityController@order_list']);  //活动相关订单列表



//发票模块
Route::get('shop-invoice-index', ['as' => 'shop_invoice_index', 'uses' => 'InvoiceController@index']);  //申请发票列表
Route::get('shop-invoice-detail', ['as' => 'shop_invoice_detail', 'uses' => 'InvoiceController@detail']);  //获取指定申请发票的详情
Route::get('shop-invoice-goods_order', ['as' => 'shop_invoice_goods_order', 'uses' => 'InvoiceController@goods_order']);  //获取指定申请发票的订单信息
Route::post('shop-invoice-check_order', ['as' => 'shop_invoice_check_order', 'uses' => 'InvoiceController@check_order']);  //修改发票关联的订单（确认发送发票）


//道路救援配置
Route::get('shop-road-rescue-index', ['as' => 'shop_road_rescue_index', 'uses' => 'RoadRescueController@index']);  //道路救援列表
Route::get('shop-road-rescue-create', ['as' => 'shop_road_rescue_create', 'uses' => 'RoadRescueController@create']);  //道路救援添加  视图
Route::post('shop-road-rescue-store', ['as' => 'shop_road_rescue_store', 'uses' => 'RoadRescueController@store']);  //道路救援添加  数据
Route::get('shop-road-rescue-set', ['as' => 'shop_road_rescue_set', 'uses' => 'RoadRescueController@set']);  //道路救援设置
Route::get('shop-road-rescue-edit', ['as' => 'shop_road_rescue_edit', 'uses' => 'RoadRescueController@edit']);  //道路救援编辑  视图
Route::post('shop-road-rescue-update', ['as' => 'shop_road_rescue_update', 'uses' => 'RoadRescueController@update']);  //道路救援编辑  数据
Route::get('shop-road-rescue-order', ['as' => 'shop_road_rescue_order', 'uses' => 'RoadRescueController@order_list']);  //道路救援订单列表
Route::get('shop-road-rescue-order-detail', ['as' => 'shop_road_rescue_order_detail', 'uses' => 'RoadRescueController@order_detail']);  //道路救援订单详情
Route::post('shop-road-rescue-order-shenhe', ['as' => 'shop_road_rescue_order_shenhe', 'uses' => 'RoadRescueController@order_shenhe']);  //道路救援订单退款审核


//朋友圈
Route::get('shop-discover-index', ['as' => 'shop_discover_index', 'uses' => 'DiscoverController@index']);  //朋友圈列表
Route::get('shop-discover-create', ['as' => 'shop_discover_create', 'uses' => 'DiscoverController@create']);  //朋友圈添加
Route::post('shop-discover-store', ['as' => 'shop_discover_store', 'uses' => 'DiscoverController@store']);  //朋友圈添加数据
Route::delete('shop-discover-del', ['as' => 'shop_discover_del', 'uses' => 'DiscoverController@del']);  //删除朋友圈数据
Route::get('shop-discover-detail', ['as' => 'shop_discover_detail', 'uses' => 'DiscoverController@detail']);  //朋友圈详情

Route::get('shop-discover-edit', ['as' => 'shop_discover_edit', 'uses' => 'DiscoverController@edit']);  //朋友圈编辑
Route::post('shop-discover-update', ['as' => 'shop_discover_update', 'uses' => 'DiscoverController@update']);  //编辑朋友圈信息